package com.ccys.common.third.payPal.config;
   /**
    * @description paypal  货币枚举
    * @date     2024/3/5
    * @author   cloud fly
    * 参考 https://developer.paypal.com/api/rest/reference/currency-codes/
    */
public enum PaypalCurrency {
       AUSTRALIAN_DOLLAR("Australian dollar", "AUD"),

       BRAZILIAN_REAL("Brazilian real 2", "BRL"),

       CANADIAN_DOLLAR("Canadian dollar", "CAD"),

       CHINESE_RENMENBI("Chinese Renmenbi 3","CNY"),

       CZECH_KORUNA("Czech koruna","CZK"),

       DANISH_KRONE("Danish krone","DKK"),

       EURO("Euro","EUR"),

       HONG_KONG_DOLLAR("Hong Kong dollar","HKD"),

       HUNGARIAN_FORINT("Hungarian forint 1","HUF"),

       ISRAELI_NEW_SHEKEL("Israeli new shekel","ILS"),

       JAPANESE_YEN("Japanese yen 1","JPY"),

       MALAYSIAN_RINGGIT("Malaysian ringgit 3","MYR"),

       MEXICAN_PESO("Mexican peso","MXN"),

       NEW_TAIWAN_DOLLAR("New Taiwan dollar 1","TWD"),

       NEW_ZEALAND_DOLLAR("New Zealand dollar","NZD"),

       NORWEGIAN_KRONE("Norwegian krone","NOK"),

       PHILIPPINE_PESO("Philippine peso","PHP"),

       POLISH_ZŁOTY("Polish złoty","PLN"),

       POUND_STERLING("Pound sterling","GBP"),

       RUSSIAN_RUBLE("Russian ruble","RUB"),

       SINGAPORE_DOLLAR("Singapore dollar","SGD"),

       SWEDISH_KRONA("Swedish krona","SEK"),
       SWISS_FRANC("Swiss franc","CHF"),
       THAI_BAHT("Thai baht","THB"),
       UNITED_STATES_DOLLAR("United States dollar","USD"),

       ;

       private String name;

       private String code;


       PaypalCurrency(String name, String code) {
           this.name = name;
           this.code = code;
       }

       public String getName() {
           return name;
       }

       public void setName(String name) {
           this.name = name;
       }

       public String getCode() {
           return code;
       }

       public void setValue(String code) {
           this.code = code;
       }
}
